package com.xqboss.apps.vo.market;


import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xqboss.apps.enums.market.MarketTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;


/**
 * @author Administrator
 */
@ApiModel("典藏、装备、宝盒Vo")
@Getter
@Setter
public class MarketListVo {

    @ApiModelProperty("典藏、装备、宝盒id")
    private Long id;

    @ApiModelProperty("藏品名称")
    private String title;

    @ApiModelProperty("主图")
    private String img;

    @ApiModelProperty("二级分类")
    private String pcName;

    @ApiModelProperty("一级分类")
    private String categoryName;

    @ApiModelProperty("市场类型(为了解决前端数据重复问题 单独处理)")
    private MarketTypeEnum type;

    @ApiModelProperty("藏品id")
    @JsonIgnore
    private Long nftId;

    @ApiModelProperty("是否为一手藏品（true-是）")
    @JsonIgnore
    private Boolean isNew;

    @ApiModelProperty("市场数据")
    private MarketMinVo marketVo = new MarketMinVo();

    @ApiModelProperty("是否显示虚拟价格")
    private Boolean isVirtual;

    @ApiModelProperty("虚拟最高价")
    private BigDecimal displayMaxPrice;
}
